<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<title>PrimeFaces Demo</title>
	<link type="text/css" rel="stylesheet" href="#{request.contextPath}/css/default.css"/>
</h:head>
<h:body>
	<p:panel header="PrimeFaces Demo">
		<p:accordionPanel>
			<p:tab title="Input">
				<h:form>
					<p:panelGrid columns="2">
						<p:outputLabel value="InputText" />
						<p:inputText />
						<p:outputLabel value="SelectBooleanButton" />
						<p:selectBooleanButton offLabel="Not Selected" onLabel="Selected" />
						<p:outputLabel value="SelectBooleanCheckbox" />
						<p:selectBooleanCheckbox />
					</p:panelGrid>
				</h:form>
			</p:tab>
			<p:tab title="Button">
				<h:form>
					<p:panelGrid columns="2">
						<p:outputLabel value="Button"/>
						<p:button value="Im a button"/>
						<p:outputLabel value="CommandButton"/>
						<p:commandButton value="Im a button too"/>
					</p:panelGrid>
				</h:form>
			</p:tab>
			<p:tab title="Misc">
				<h:form>
					<p:panelGrid columns="2">
						<p:outputLabel>ThemeSwitcher</p:outputLabel>
						<p:themeSwitcher>
							<f:selectItem itemLabel="Choose Theme" itemValue="" />  
            				<f:selectItems value="#{themeSwitcherBean.themes}" />
						</p:themeSwitcher>
					</p:panelGrid>
				</h:form>
			</p:tab>
		</p:accordionPanel>
	</p:panel>
</h:body>
</html>